The Batch Filer Runner (BATCH_FILE_RUNNER) is a system library HyperPoint that can be used by different batch file runner script instances. A script library file called BATCHFILERUNNER_SCRIPT.TXT can be configured to run a batch file at a specified interval or when triggered by a referenced point. The script for the BATCH_FILE_RUNNER Library HyperPoint is stored in the CygNet\Utilities\SCRIPTLIBRARY folder on your host server. The library point is installed using the CygNet Point Script Copy Utility.
For more information, see the following subsections below:
The system library BATCHFILERUNNER_SCRIPT.TXT contains the script required to run a batch file.
To Install the Batch File Runner Script
A Library User HyperPoint must be created to run the Batch File Runner script.
To Create a Library User HyperPoint
Note: If step c. is not performed, the batch file will run on any/every change to the trigger point.
The following table lists and describes the possible values of the script's running status.
| Value | Description |
|---|---|
| Bad Timer Value | The specified timer interval is invalid. |
| Bat File Failed | There was an error running the batch file. |
| Initialized | The HyperPoint has finished initialization. |
| No Batch File | No batch file has been specified. |
| No Timer/Tag | There is no timer or trigger tag specified. |
| No Val Match | The trigger point is not set to the matching value to activate the batch file. |
| Success | The batch file run was successful. |
| WScript Shell Crt | The script failed to create the Windows Script Shell object. |
Perform the following steps if the script fails to run:
Perform the following steps to verify the settings of the trigger point: